#include "YGSurface.h"

namespace YoghurtGum
{

	Surface::Surface(int a_Width, int a_Height)
	{
		m_Locked = false;
		m_Width = a_Width;
		m_Height = a_Height;
	}

	Surface::~Surface()
	{

	}

	int Surface::GetWidth() const
	{
		return m_Width;
	}

	int Surface::GetHeight() const
	{
		return m_Height;
	}

	int Surface::GetPitch() const
	{
		return m_Pitch;
	}

	bool Surface::IsLocked()
	{
		if (!m_Locked) { Log::GetSingleton().Print("Surface is not locked!"); }
		return m_Locked;
	}

}; // namespace YoghurtGum